import React from 'react' 
class Detail extends React.Component {
    constructor (props) {
        super(props)
        this.state = {
            b:1
        }
        console.log(props.history)
        console.log(props.location)
        console.log(props.location.search)





        console.log(props.match)
    }
    


    a =(e) =>{

    }

    render() {
        return (
            <div>
                <h1>您进来的id 是 {this.props.match.params.touristid}</h1>
            </div>
        )
    }

}


export default Detail